package com.example.ai.dto;

import lombok.Data;
import java.time.LocalDateTime;

@Data
public class PostDTO {
    private Long id;
    private String username;
    private String userAvatar;  // 添加用户头像字段
    private String question;
    private String answer;
    private Integer viewCount;
    private Integer likeCount;
    private LocalDateTime createTime;
} 